package com.atguigu.jinx.entity.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author kuangqi
 * @email stevekwong@126.com
 * @date 2025/8/8
 */
@Data
@Accessors(chain = true)
@TableName("job_task_settlement_rule")
public class JobTaskSettlementRule {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long jobTaskId;

    private Integer days;

    private BigDecimal percent;

    private BigDecimal amount;

    private String totalAmount;

    private LocalDateTime createdAt;
}
